<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.10/dist/vue.js"></script>
    <title>Document</title>
</head>
<body>
<div id="App">
    <h1>{{ msg }}</h1>
    <h2>{{ title }}</h2>
    <h3>{{ total + 5 }}</h3>
</div>
<script>
    const vm = new Vue({
        // el Vue实例挂载的容器 选择器 或者 DOM节点
        el: "#App",
        // vue 实例数据对象
        data(){
            return {
                title: "vue",
                msg: " HELLO WORLD ~ ",
                total: 300
            }
        },
    })

</script>
</body>
</html>